#include "implementations/Junction.h"
#include <crtdbg.h>

namespace vnav
{
	Junction::Junction()
	{

	}

	Junction::Junction( const Junction& other )
	{
		*this = other;
	}

	Junction& Junction::operator=( const Junction& other )
	{
		if (this != &other)
		{
			_ASSERT(false);
		}
		return *this;
	}

	Junction::~Junction()
	{

	}

	void Junction::addRoad( Road* val )
	{
		_ASSERT(val);
		m_roads.push_back(val);
	}

	void Junction::setRoads( Junction::Roads val )
	{
		m_roads = val;
	}

	vnav::Junction::Roads Junction::getRoads() const
	{
		return m_roads;
	}
}